package com.audaque.springboot.foshanupload.reactor.webfluxdemo.service.iface;


import com.audaque.springboot.foshanupload.reactor.webfluxdemo.model.qo.QueryRequest;
import com.audaque.springboot.foshanupload.reactor.webfluxdemo.model.pojo.MusicDetail;
import org.springframework.data.domain.Page;
import reactor.core.publisher.Mono;

/**
 * @author zgb
 * @desc ...
 * @date 2023-07-23 02:19:40
 */
public interface MusicDetailService {

    //添加音乐信息
    public void addMusic(MusicDetail musicDetail);

    //修改音乐信息
    public void editMusic(String id, MusicDetail musicDetail);

    //执行删除
    public void delMusic(String id);

    //按条件查询，并且分页
    public Mono<Page<MusicDetail>> getMusic(int page, int size, QueryRequest queryRequest);
}
